package com.jfdesgagne.traklib.events {
	import flash.events.Event;
	import flash.geom.Rectangle;

	/**
	 * @author jdesgagne
	 */
	public class TrakMultiEvent extends Event {
		public static const CREATE:String = "trakmultievent_create";
		public static const UPDATE:String = "trakmultievent_update";
		public static const MOVE:String = "trakmultievent_move";
		public static const STAY:String = "trakmultievent_stay";
		public static const DISAPPEAR:String = "trakmultievent_disappear";
		public static const INTEGRATE:String = "trakmultievent_integrate";
		
		protected var __area:Rectangle;		protected var __id:uint;
		
		public function TrakMultiEvent(type : String, _id:uint, _area:Rectangle, bubbles : Boolean = false, cancelable : Boolean = false) {
			super(type, bubbles, cancelable);
			this.__area = _area;			this.__id	= _id;
		}
		
		public function get area():Rectangle {return this.__area;}		public function get id():uint {return this.__id;}
	}
}
